package cn.hncj.lyc.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.hncj.lyc.bean.ConsigneeManagement;
import cn.hncj.lyc.dao.ConsigneeManagementMapper;
import cn.hncj.lyc.service.ConsigneeManagementService;

@Service
public class ConsigneeManagementServiceImpl implements ConsigneeManagementService{
	
	@Autowired
	private ConsigneeManagementMapper cmMapper;
	
	@Override
	public List<ConsigneeManagement> getCmList(ConsigneeManagement cm) {
		return cmMapper.getCMList(cm);
	}
	public void add(ConsigneeManagement cm) {
		cmMapper.add(cm);
		
	}

	public void update(ConsigneeManagement cm) {
		cmMapper.update(cm);
		
	}

	public void delete(ConsigneeManagement cm) {
		cmMapper.delete(cm);
		
	}

	public List<ConsigneeManagement> getInfo(ConsigneeManagement cm) {
		// TODO Auto-generated method stub
		
		return cmMapper.getInfo(cm);
	}


}
